package net.whzjkj.gateway.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 报警记录
 */
@Data
@Accessors(chain = true)
public class ObdAlarmRecord extends Model<ObdAlarmRecord> {

	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	private String id;
	
	@ApiModelProperty("警报类型ID")
	private String atId;
	
	@ApiModelProperty("车辆ID")
	private String vehicleId;
	
	@ApiModelProperty("警报时间")
	private Date alarmTime;
	
	@ApiModelProperty("发送短信ID")
	private String smsId;
	
	@ApiModelProperty("发送内容")
	private String smsContent;
	
	@ApiModelProperty("是否阅读")
	private Integer isread;
	
	@ApiModelProperty("是否推送")
	private Integer ispush;
	
	@ApiModelProperty("推送时间")
	private Date pushTime;
	
	@ApiModelProperty("报警纬度")
	private BigDecimal latitude;
	
	@ApiModelProperty("报警经度")
	private BigDecimal longitude;
	
	@ApiModelProperty("报警地址")
	private String address;
	
	@ApiModelProperty("警报状态")
	private Integer alarmStatus;
	
	private Date createTime;
	
	@ApiModelProperty("更新时间")
	private Date updateTimer;
	
	private String creater;
	
	private String updater;
	
	private Integer status;
	
}